import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import '@/styles/theme/index.css'
import router from './router'
import store from './store'
import './registerServiceWorker'
import '@/styles/reset.scss'

import './permission'

// custom components
import { SvgIcon } from '@/components'

Vue.component('svg-icon', SvgIcon)

Vue.config.productionTip = false

Vue.use(ElementUI, { size: 'small' })

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
